package com.example.platine.model;

import java.io.Serializable;

public class Reveil implements Serializable{

	private static final long serialVersionUID = 1L;
	private int id = -1;
	private int idUser = -1 ;
	private int heure ;
	private int minute ;
	private String repeter ;
	private String description ;

	public Reveil() {
		super();
	}

	public Reveil(int id, int idUser, int heure, int minute, String repeter,
			String description) {
		super();
		this.id = id;
		this.idUser = idUser;
		this.heure = heure;
		this.minute = minute;
		this.repeter = repeter;
		this.description = description;
	}

	public Reveil(int idUser, int heure, int minute, String repeter,
			String description) {
		super();
		this.idUser = idUser;
		this.heure = heure;
		this.minute = minute;
		this.repeter = repeter;
		this.description = description;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getIdUser() {
		return idUser;
	}

	public void setIdUser(int idUser) {
		this.idUser = idUser;
	}

	public int getHeure() {
		return heure;
	}

	public void setHeure(int heure) {
		this.heure = heure;
	}

	public int getMinute() {
		return minute;
	}

	public void setMinute(int minute) {
		this.minute = minute;
	}

	public String getRepeter() {
		return repeter;
	}

	public void setRepeter(String repeter) {
		this.repeter = repeter;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return "Reveil [id=" + id + ", idUser=" + idUser + ", heure=" + heure
				+ ", minute=" + minute + ", repeter=" + repeter
				+ ", description=" + description + "]";
	}

}
